package com.example.demo.merchant.service.impl;

import com.example.demo.merchant.mapper.MerchantMapper;
import com.example.demo.merchant.params.MerchantRequestParams;
import com.example.demo.merchant.service.MerchantService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

@Service
public class MerchantServiceImpl implements MerchantService{

    @Resource
    private MerchantMapper merchantMapper;


    @Override
    public int add(MerchantRequestParams merchantRequestParams) {
        return merchantMapper.add(merchantRequestParams);
    }
}
